﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Web;
using Skynet.BusinessEntities;

namespace Skynet.ServiceContracts
{
    [ServiceContract(Namespace="")]
    public interface ISkynetLibraryJson
    {
        [OperationContract]
        [WebGet()]
        string GetSystemDate();

        [OperationContract]
        [WebGet()]
        List<ExamCategory> ExamCategories();

        [OperationContract]
        [WebGet()]
        void RegisterMethodInterceptor(Guid Id, string Solution, Guid Application, Guid Operation ,string Module, string ClassName, string MethodName);


        [OperationContract]        
        [WebInvoke(Method="POST", BodyStyle = WebMessageBodyStyle.WrappedRequest,
                ResponseFormat = WebMessageFormat.Json)]
        List<Infrastructure.Aspect.Inspectors.MethodAudit> GetMethodAuditInfo();
        

        
    }
}
